/**
 * 
 */
package edu.hadassah.prettyprint.config;

import java.io.Reader;
import java.io.Writer;

import edu.hadassah.prettyprint.parser.Parser;
import edu.hadassah.prettyprint.printer.IDocumentPrinterVisitor;
import edu.hadassah.prettyprint.printer.xmlprinter.XmlPrinterVisitor;

/**
 * @author persikov
 *
 */
public class XmlFileApplicationContext implements IApplicationContext {

	private Reader documentReader;
	private Parser documentParser;
	private IDocumentPrinterVisitor documentPrinter;
	private Writer documentWriter;
	
	/**
	 * @return the documentReader
	 */
	public Reader getDocumentReader() {
		return documentReader;
	}
	/**
	 * @param documentReader the documentReader to set
	 */
	public void setDocumentReader(Reader documentReader) {
		this.documentReader = documentReader;
	}
	/**
	 * @return the documentParser
	 */
	public Parser getDocumentParser() {
		return documentParser;
	}
	/**
	 * @param documentParser the documentParser to set
	 */
	public void setDocumentParser(Parser documentParser) {
		this.documentParser = documentParser;
	}
	/**
	 * @return the documentPrinter
	 */
	public IDocumentPrinterVisitor getDocumentPrinter() {
		return documentPrinter;
	}
	/**
	 * @param documentPrinter the documentPrinter to set
	 */
	public void setDocumentPrinter(XmlPrinterVisitor documentPrinter) {
		this.documentPrinter = documentPrinter;
	}
	/**
	 * @return the documentWriter
	 */
	public Writer getDocumentWriter() {
		return documentWriter;
	}
	/**
	 * @param documentWriter the documentWriter to set
	 */
	public void setDocumentWriter(Writer documentWriter) {
		this.documentWriter = documentWriter;
	}



}
